import request from '@/utils/request'
export const getLoginService = (data) => { 
 return request.post('/sys/login', data)
}

// 获取用户基本资料
export const getUserInfoEervice = () => {
    return request.get('/sys/profile')
}

// 修改密码
export const getNewPasswordService = (data) => {
    return request.put('/sys/user/updatePass',data)
}